Optimal. Leaf size=31 \[ -\frac {\sec ^6(a+b x)}{6 b}+\frac {\sec ^8(a+b x)}{8 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2686, 14}
\begin {gather*} \frac {\sec ^8(a+b x)}{8 b}-\frac {\sec ^6(a+b x)}{6 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2686
Rubi steps
\begin {align*} \int \sec ^6(a+b x) \tan ^3(a+b x) \, dx &=\frac {\text {Subst}\left (\int x^5 \left (-1+x^2\right ) \, dx,x,\sec (a+b x)\right )}{b}\\ &=\frac {\text {Subst}\left (\int \left (-x^5+x^7\right ) \, dx,x,\sec (a+b x)\right )}{b}\\ &=-\frac {\sec ^6(a+b x)}{6 b}+\frac {\sec ^8(a+b x)}{8 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 28, normalized size = 0.90 \begin {gather*} -\frac {4 \sec ^6(a+b x)-3 \sec ^8(a+b x)}{24 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(59\) vs.
\(2(27)=54\).
time = 0.09, size = 60, normalized size = 1.94
method | result | size |
risch | \(-\frac {32 \left ({\mathrm e}^{10 i \left (b x +a \right )}-{\mathrm e}^{8 i \left (b x +a \right )}+{\mathrm e}^{6 i \left (b x +a \right )}\right )}{3 b \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )^{8}}\) | \(49\) |
derivativedivides | \(\frac {\frac {\sin ^{4}\left (b x +a \right )}{8 \cos \left (b x +a \right )^{8}}+\frac {\sin ^{4}\left (b x +a \right )}{12 \cos \left (b x +a \right )^{6}}+\frac {\sin ^{4}\left (b x +a \right )}{24 \cos \left (b x +a \right )^{4}}}{b}\) | \(60\) |
default | \(\frac {\frac {\sin ^{4}\left (b x +a \right )}{8 \cos \left (b x +a \right )^{8}}+\frac {\sin ^{4}\left (b x +a \right )}{12 \cos \left (b x +a \right )^{6}}+\frac {\sin ^{4}\left (b x +a \right )}{24 \cos \left (b x +a \right )^{4}}}{b}\) | \(60\) |
norman | \(\frac {\frac {4 \left (\tan ^{4}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{b}+\frac {4 \left (\tan ^{12}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{b}+\frac {16 \left (\tan ^{6}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{3 b}+\frac {16 \left (\tan ^{10}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{3 b}+\frac {40 \left (\tan ^{8}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{3 b}}{\left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )^{8}}\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 59 vs.
\(2 (27) = 54\).
time = 0.29, size = 59, normalized size = 1.90 \begin {gather*} \frac {4 \, \sin \left (b x + a\right )^{2} - 1}{24 \, {\left (\sin \left (b x + a\right )^{8} - 4 \, \sin \left (b x + a\right )^{6} + 6 \, \sin \left (b x + a\right )^{4} - 4 \, \sin \left (b x + a\right )^{2} + 1\right )} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 25, normalized size = 0.81 \begin {gather*} -\frac {4 \, \cos \left (b x + a\right )^{2} - 3}{24 \, b \cos \left (b x + a\right )^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.92, size = 25, normalized size = 0.81 \begin {gather*} -\frac {4 \, \cos \left (b x + a\right )^{2} - 3}{24 \, b \cos \left (b x + a\right )^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.42, size = 35, normalized size = 1.13 \begin {gather*} \frac {{\mathrm {tan}\left (a+b\,x\right )}^4\,\left (3\,{\mathrm {tan}\left (a+b\,x\right )}^4+8\,{\mathrm {tan}\left (a+b\,x\right )}^2+6\right )}{24\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________